package com.xueyu.domain.item_Excepts;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyu.domain.personinfo.personinfoBean;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
@TableName("itemexcepts")
public class item_ExceptsBean {

    @TableId("itemExceptsId")
    private int itemExceptsId;

    @TableField("excepts_typeId")
    private int excepts_typeId;

    @TableField("personId")
    private int personId;

    @TableField("excepts_name")
    private String excepts_name;

    @TableField("excepts_state")
    private int excepts_state;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("excepts_Time")
    private String excepts_Time;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("check_time")
    private String check_time;

    @TableField("excepts_info")
    private String excepts_info;

    @TableField(exist = false)
    private String realName;

    @TableField(exist = false)
    private List<personinfoBean> personinfoList;

}
